package com.hjb.springbootdemo.template;

import com.alibaba.fastjson.JSONArray;

import java.util.Iterator;

public class Test {
    public static void main(String[] args) {
        SmsTemplate smsTemplate = new DianXinHttp();
        smsTemplate.sendsms();
        String str = "[\"staticuploa1539863638_0.png\",\"ssdasadss\"]";
        JSONArray array = JSONArray.parseArray(str);

        System.out.println(str);
        if(null!=array){
            for (Iterator iterator = array.iterator(); iterator.hasNext();) {
                System.out.println(iterator.next());
            }
        }
    }
}
